from zy_manage import views
from django.urls import path, re_path

app_name = "manage"

urlpatterns = [
    path("", views.index, name="index"),
    path("login", views.login, name="login"),
    path("logout", views.logout, name="logout"),
    path("register", views.register, name="register"),
    # 数据导入页面
    path("data_import", views.data_import, name="data_import"),
    # 数据导入模版下载url
    path(
        "download_template/<str:id>",
        views.download_template,
        name="download_template",
    ),
    # 数据导入处理url
    path("data_add", views.data_add, name="data_add"),
    # 数据导入结果下载url
    path("error_download", views.error_download, name="error_download"),
    # 个人设置页面
    path("settings", views.settings, name="settings"),
    path("eval_statistic", views.eval_statistic, name="eval_statistic"),
    path("eval_switch", views.eval_switch, name="eval_switch"),
]
